<?php

/**
 * $Id: iView.php 11 2010-11-24 22:10:53Z LEON $
 * $Author: LEON $
 * $LastChangedDate: 2010-11-24 22:10:53 +0000 (Wed, 24 Nov 2010) $
 * $Revision: 11 $
 */

namespace cmFly\view;

interface iView {
    public function set_main_template($tpl);
    public function get_main_template();
    public function set_var($var_name,$var_value);
    public function set_link($var_name,&$var_value);
    public function get_var($var_name);
    public function tpl_exists($tpl_name);
    public function exec();
    public function extend($dir,$mode);
    public function layer($dir,$mode='default');
    public function render();
    public function insert($tpl_name);
    public function load_widget($cmd);
    public function parse_template($tpl_name,$vars=Array());
    public function set_mode($mode);
}